home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / overview / optimization tn demos / cbufffilestream / filepermutils.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-23  |  837 b   |  31 lines

  1. /*
  2.     File:        FilePermUtil.h
  3.  
  4.     Contains:    Get file premissions.
  5.  
  6.     Written by:    Tim Carroll
  7.  
  8.     Copyright:    Copyright (c) 1999 Apple Computer, Inc., All Rights Reserved.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17.  
  18. */
  19.  
  20. #pragma once
  21.  
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25.  
  26. OSErr GetPermission(short refNum,short *permission);
  27.  
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31.